﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tum.CollabXT
{
    /// <summary>
    /// Interface for a tool provider.
    /// </summary>
    public interface IToolProvider : IProvider
    {
        /// <summary>
        /// Initializes a tool provider using a given process provider.
        /// </summary>
        /// <param name="processProvider">Process provider containing data to be converted</param>
        /// <param name="log">Log to track status</param>
        void Initialize(IProcessProvider processProvider, Log log);

        /// <summary>
        /// Processes the process provider data and outputs the results to the given path.
        /// </summary>
        void Process();

        /// <summary>
        /// Gets the name of the config page XAML file or null, if none is needed.
        /// </summary>
        string GetConfigPageName();
    }
}
